package com.dotflat.training.po;

import com.dotflat.rest.PO.AreableObjectBasePO;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.matt.commons.dto.sso.StaffDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


@Data
@ApiModel("线下课程预约对象")
@EqualsAndHashCode(callSuper = true)
public class OTCourseBookRecordPO extends AreableObjectBasePO {

	@ApiModelProperty(" varchar(32)  COMMENT '线下课id'")
	private String offlineCourseId;

	@ApiModelProperty("是否预约")
	private Boolean booked;

	@ApiModelProperty("是否签到")
	private Boolean checked;

	@ApiModelProperty("被签到老师的id'")
	private String staffId;

	@JsonIgnore
	@ApiModelProperty(value = "预约时间", hidden = true)
	private Date bookedAt;

	@JsonIgnore
	@ApiModelProperty(value = "目标对象", hidden = true)
	private StaffDTO targetStaff;

	@JsonIgnore
	@ApiModelProperty(value = "签到时间", hidden = true)
	private Date checkedAt;

}
